package pl.pollub.medikit.client.ui;

import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.CheckBox;
import com.google.gwt.user.client.ui.DeckPanel;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.TabPanel;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.TextBoxBase;

public class UILekarzMainPanel extends DeckPanel {
	public UILekarzMainPanel() {
		TabPanel tabPanel = new TabPanel();
		tabPanel.setAnimationEnabled(true);
		add(tabPanel);
		
		FlowPanel flowPanel_3 = new FlowPanel();
		tabPanel.add(flowPanel_3, "Edycja danych", false);
		flowPanel_3.setSize("740px", "478px");
		
		AbsolutePanel absolutePanel_1 = new AbsolutePanel();
		flowPanel_3.add(absolutePanel_1);
		absolutePanel_1.setHeight("400px");
		
		Label lblImi = new Label("Imię:");
		absolutePanel_1.add(lblImi, 30, 30);
		lblImi.setSize("200px", "20px");
		
		Label lblNazwisko = new Label("Nazwisko:");
		absolutePanel_1.add(lblNazwisko, 30, 90);
		lblNazwisko.setSize("200px", "20px");
		
		Button button_1 = new Button("New button");
		button_1.setText("Zapisz");
		absolutePanel_1.add(button_1, 330, 350);
		button_1.setSize("66px", "28px");
		
		TextBox textBox = new TextBox();
		textBox.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_1.add(textBox, 30, 60);
		textBox.setSize("190px", "8px");
		
		TextBox textBox_1 = new TextBox();
		textBox_1.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_1.add(textBox_1, 30, 120);
		textBox_1.setSize("190px", "8px");
		
		Label lblPesel = new Label("PESEL:");
		absolutePanel_1.add(lblPesel, 30, 150);
		lblPesel.setSize("200px", "20px");
		
		TextBox textBox_2 = new TextBox();
		textBox_2.setEnabled(false);
		textBox_2.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_1.add(textBox_2, 30, 180);
		textBox_2.setSize("190px", "8px");
		
		Label lblHaso = new Label("Hasło:");
		absolutePanel_1.add(lblHaso, 30, 210);
		lblHaso.setSize("200px", "20px");
		
		TextBox textBox_3 = new TextBox();
		textBox_3.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_1.add(textBox_3, 30, 240);
		textBox_3.setSize("190px", "8px");
		
		Label lblAdres = new Label("Adres:");
		absolutePanel_1.add(lblAdres, 260, 30);
		lblAdres.setSize("200px", "20px");
		
		TextBox textBox_4 = new TextBox();
		textBox_4.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_1.add(textBox_4, 260, 60);
		textBox_4.setSize("190px", "8px");
		
		Label lblKodpocztowy = new Label("Kod-pocztowy:");
		absolutePanel_1.add(lblKodpocztowy, 260, 90);
		lblKodpocztowy.setSize("200px", "20px");
		
		TextBox textBox_5 = new TextBox();
		textBox_5.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_1.add(textBox_5, 260, 120);
		textBox_5.setSize("190px", "8px");
		
		Label lblMiasto = new Label("Miasto:");
		absolutePanel_1.add(lblMiasto, 260, 150);
		lblMiasto.setSize("200px", "20px");
		
		TextBox textBox_6 = new TextBox();
		textBox_6.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_1.add(textBox_6, 260, 180);
		textBox_6.setSize("190px", "8px");
		
		Label lblEmail = new Label("E-mail:");
		absolutePanel_1.add(lblEmail, 260, 270);
		lblEmail.setSize("200px", "20px");
		
		TextBox textBox_7 = new TextBox();
		textBox_7.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_1.add(textBox_7, 260, 300);
		textBox_7.setSize("190px", "8px");
		
		Label lblPowtrzHaso = new Label("Powtórz hasło:");
		absolutePanel_1.add(lblPowtrzHaso, 30, 270);
		lblPowtrzHaso.setSize("200px", "20px");
		
		TextBox textBox_8 = new TextBox();
		textBox_8.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_1.add(textBox_8, 30, 300);
		textBox_8.setSize("190px", "8px");
		
		Label lblTelefon = new Label("Telefon:");
		absolutePanel_1.add(lblTelefon, 260, 210);
		lblTelefon.setSize("200px", "20px");
		
		TextBox textBox_9 = new TextBox();
		textBox_9.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_1.add(textBox_9, 260, 240);
		textBox_9.setSize("190px", "8px");
		
		Label lblNrPokoju = new Label("Nr pokoju:");
		absolutePanel_1.add(lblNrPokoju, 490, 30);
		lblNrPokoju.setSize("200px", "20px");
		
		Label lblTytu = new Label("Tytuł:");
		absolutePanel_1.add(lblTytu, 490, 90);
		lblTytu.setSize("200px", "20px");
		
		Label lblSpecjalizacja = new Label("Specjalizacja:");
		absolutePanel_1.add(lblSpecjalizacja, 490, 150);
		lblSpecjalizacja.setSize("200px", "20px");
		
		ListBox comboBox = new ListBox();
		absolutePanel_1.add(comboBox, 490, 60);
		comboBox.setSize("200px", "20px");
		
		ListBox listBox_3 = new ListBox();
		absolutePanel_1.add(listBox_3, 490, 120);
		listBox_3.setSize("200px", "20px");
		
		ListBox listBox_4 = new ListBox();
		absolutePanel_1.add(listBox_4, 490, 180);
		listBox_4.setSize("200px", "20px");
		
		FlowPanel flowPanel = new FlowPanel();
		tabPanel.add(flowPanel, "Otwarcie wizyty", false);
		flowPanel.setSize("737px", "478px");
		
		AbsolutePanel absolutePanel_2 = new AbsolutePanel();
		flowPanel.add(absolutePanel_2);
		absolutePanel_2.setHeight("477px");
		
		Label label_3 = new Label("PESEL:");
		absolutePanel_2.add(label_3, 30, 30);
		label_3.setSize("200px", "20px");
		
		TextBox textBox_10 = new TextBox();
		textBox_10.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_2.add(textBox_10, 30, 60);
		textBox_10.setSize("190px", "8px");
		
		Label label_4 = new Label("Nazwisko:");
		absolutePanel_2.add(label_4, 260, 30);
		label_4.setSize("200px", "20px");
		
		TextBox textBox_11 = new TextBox();
		textBox_11.setTextAlignment(TextBoxBase.ALIGN_LEFT);
		absolutePanel_2.add(textBox_11, 260, 60);
		textBox_11.setSize("190px", "8px");
		
		Button btnFiltruj = new Button("Filtruj");
		absolutePanel_2.add(btnFiltruj, 490, 52);
		
		Grid grid = new Grid(1, 1);
		absolutePanel_2.add(grid, 30, 90);
		grid.setSize("677px", "377px");
		
		FlowPanel flowPanel_1 = new FlowPanel();
		tabPanel.add(flowPanel_1, "Tworzenie harmonogramu", false);
		flowPanel_1.setSize("739px", "478px");
		
		AbsolutePanel absolutePanel_3 = new AbsolutePanel();
		flowPanel_1.add(absolutePanel_3);
		absolutePanel_3.setHeight("477px");
		
		Label lblOd = new Label("Od:");
		absolutePanel_3.add(lblOd, 132, 30);
		lblOd.setSize("200px", "20px");
		
		ListBox listBox_5 = new ListBox();
		listBox_5.addItem("08:00");
		listBox_5.addItem("09:00");
		listBox_5.addItem("10:00");
		listBox_5.addItem("11:00");
		listBox_5.addItem("12:00");
		listBox_5.addItem("13:00");
		listBox_5.addItem("14:00");
		listBox_5.addItem("15:00");
		listBox_5.addItem("16:00");
		absolutePanel_3.add(listBox_5, 132, 60);
		listBox_5.setSize("200px", "20px");
		
		Label label_5 = new Label("Od:");
		absolutePanel_3.add(label_5, 132, 86);
		label_5.setSize("200px", "20px");
		
		ListBox listBox_6 = new ListBox();
		listBox_6.addItem("08:00");
		listBox_6.addItem("09:00");
		listBox_6.addItem("10:00");
		listBox_6.addItem("11:00");
		listBox_6.addItem("12:00");
		listBox_6.addItem("13:00");
		listBox_6.addItem("14:00");
		listBox_6.addItem("15:00");
		listBox_6.addItem("16:00");
		absolutePanel_3.add(listBox_6, 132, 116);
		listBox_6.setSize("200px", "20px");
		
		Label label_6 = new Label("Od:");
		absolutePanel_3.add(label_6, 132, 142);
		label_6.setSize("200px", "20px");
		
		ListBox listBox_7 = new ListBox();
		listBox_7.addItem("08:00");
		listBox_7.addItem("09:00");
		listBox_7.addItem("10:00");
		listBox_7.addItem("11:00");
		listBox_7.addItem("12:00");
		listBox_7.addItem("13:00");
		listBox_7.addItem("14:00");
		listBox_7.addItem("15:00");
		listBox_7.addItem("16:00");
		absolutePanel_3.add(listBox_7, 132, 172);
		listBox_7.setSize("200px", "20px");
		
		Label label_7 = new Label("Od:");
		absolutePanel_3.add(label_7, 132, 198);
		label_7.setSize("200px", "20px");
		
		ListBox listBox_8 = new ListBox();
		listBox_8.addItem("08:00");
		listBox_8.addItem("09:00");
		listBox_8.addItem("10:00");
		listBox_8.addItem("11:00");
		listBox_8.addItem("12:00");
		listBox_8.addItem("13:00");
		listBox_8.addItem("14:00");
		listBox_8.addItem("15:00");
		listBox_8.addItem("16:00");
		absolutePanel_3.add(listBox_8, 132, 228);
		listBox_8.setSize("200px", "20px");
		
		Label lblPoniedziaek = new Label("Poniedziałek");
		absolutePanel_3.add(lblPoniedziaek, 30, 64);
		
		Label lblWtorek = new Label("Wtorek");
		absolutePanel_3.add(lblWtorek, 30, 120);
		lblWtorek.setSize("74px", "16px");
		
		Label lblroda = new Label("Środa");
		absolutePanel_3.add(lblroda, 30, 176);
		lblroda.setSize("74px", "16px");
		
		Label lblCzwartek = new Label("Czwartek");
		absolutePanel_3.add(lblCzwartek, 30, 232);
		lblCzwartek.setSize("74px", "16px");
		
		Label lblPitek = new Label("Piątek");
		absolutePanel_3.add(lblPitek, 30, 288);
		lblPitek.setSize("74px", "16px");
		
		Label label_8 = new Label("Od:");
		absolutePanel_3.add(label_8, 132, 254);
		label_8.setSize("200px", "20px");
		
		ListBox listBox_9 = new ListBox();
		listBox_9.addItem("08:00");
		listBox_9.addItem("09:00");
		listBox_9.addItem("10:00");
		listBox_9.addItem("11:00");
		listBox_9.addItem("12:00");
		listBox_9.addItem("13:00");
		listBox_9.addItem("14:00");
		listBox_9.addItem("15:00");
		listBox_9.addItem("16:00");
		absolutePanel_3.add(listBox_9, 132, 284);
		listBox_9.setSize("200px", "20px");
		
		Label lblDo = new Label("Do:");
		absolutePanel_3.add(lblDo, 380, 30);
		lblDo.setSize("200px", "20px");
		
		ListBox listBox_10 = new ListBox();
		listBox_10.addItem("08:00");
		listBox_10.addItem("09:00");
		listBox_10.addItem("10:00");
		listBox_10.addItem("11:00");
		listBox_10.addItem("12:00");
		listBox_10.addItem("13:00");
		listBox_10.addItem("14:00");
		listBox_10.addItem("15:00");
		listBox_10.addItem("16:00");
		absolutePanel_3.add(listBox_10, 380, 60);
		listBox_10.setSize("200px", "20px");
		
		ListBox listBox_11 = new ListBox();
		listBox_11.addItem("08:00");
		listBox_11.addItem("09:00");
		listBox_11.addItem("10:00");
		listBox_11.addItem("11:00");
		listBox_11.addItem("12:00");
		listBox_11.addItem("13:00");
		listBox_11.addItem("14:00");
		listBox_11.addItem("15:00");
		listBox_11.addItem("16:00");
		absolutePanel_3.add(listBox_11, 380, 116);
		listBox_11.setSize("200px", "20px");
		
		ListBox listBox_12 = new ListBox();
		listBox_12.addItem("08:00");
		listBox_12.addItem("09:00");
		listBox_12.addItem("10:00");
		listBox_12.addItem("11:00");
		listBox_12.addItem("12:00");
		listBox_12.addItem("13:00");
		listBox_12.addItem("14:00");
		listBox_12.addItem("15:00");
		listBox_12.addItem("16:00");
		absolutePanel_3.add(listBox_12, 380, 172);
		listBox_12.setSize("200px", "20px");
		
		ListBox listBox_13 = new ListBox();
		listBox_13.addItem("08:00");
		listBox_13.addItem("09:00");
		listBox_13.addItem("10:00");
		listBox_13.addItem("11:00");
		listBox_13.addItem("12:00");
		listBox_13.addItem("13:00");
		listBox_13.addItem("14:00");
		listBox_13.addItem("15:00");
		listBox_13.addItem("16:00");
		absolutePanel_3.add(listBox_13, 380, 228);
		listBox_13.setSize("200px", "20px");
		
		ListBox listBox_14 = new ListBox();
		listBox_14.addItem("08:00");
		listBox_14.addItem("09:00");
		listBox_14.addItem("10:00");
		listBox_14.addItem("11:00");
		listBox_14.addItem("12:00");
		listBox_14.addItem("13:00");
		listBox_14.addItem("14:00");
		listBox_14.addItem("15:00");
		listBox_14.addItem("16:00");
		absolutePanel_3.add(listBox_14, 380, 284);
		listBox_14.setSize("200px", "20px");
		
		Label label_9 = new Label("Do:");
		absolutePanel_3.add(label_9, 380, 86);
		label_9.setSize("200px", "20px");
		
		Label label_10 = new Label("Do:");
		absolutePanel_3.add(label_10, 380, 142);
		label_10.setSize("200px", "20px");
		
		Label label_11 = new Label("Do:");
		absolutePanel_3.add(label_11, 380, 198);
		label_11.setSize("200px", "20px");
		
		Label label_12 = new Label("Do:");
		absolutePanel_3.add(label_12, 380, 254);
		label_12.setSize("200px", "20px");
		
		CheckBox chckbxDzieWolny = new CheckBox("Dzień wolny");
		absolutePanel_3.add(chckbxDzieWolny, 620, 61);
		
		CheckBox checkBox_1 = new CheckBox("Dzień wolny");
		absolutePanel_3.add(checkBox_1, 620, 117);
		checkBox_1.setSize("90px", "19px");
		
		CheckBox checkBox_2 = new CheckBox("Dzień wolny");
		absolutePanel_3.add(checkBox_2, 620, 173);
		checkBox_2.setSize("90px", "19px");
		
		CheckBox checkBox_3 = new CheckBox("Dzień wolny");
		absolutePanel_3.add(checkBox_3, 620, 228);
		checkBox_3.setSize("90px", "19px");
		
		CheckBox checkBox_4 = new CheckBox("Dzień wolny");
		absolutePanel_3.add(checkBox_4, 620, 288);
		checkBox_4.setSize("90px", "19px");
		
		Button btnZapisz = new Button("Zapisz");
		absolutePanel_3.add(btnZapisz, 327, 411);
		btnZapisz.setSize("74px", "28px");
		
		FlowPanel flowPanel_4 = new FlowPanel();
		tabPanel.add(flowPanel_4, "Wyloguj", false);
		flowPanel_4.setSize("736px", "477px");
		
		Button btnWyloguj = new Button("Wyloguj");
		flowPanel_4.add(btnWyloguj);
		showWidget(0);
	}
}
